package com.hsh.erp.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName in_out_bound_type
 */
@TableName(value ="in_out_bound_type")
@Data
@NoArgsConstructor
public class InOutType implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 1-入库 2-出库
     */
    private Integer inOrOut;

    /**
     * 出入库类型名称（采购入库，销售出库，盘点入库，盘点出库，跨仓库借走，跨仓库借来）
     */
    private String name;

    /**
     * 备注
     */
    private String note;
    
    /**
     * 是否删除 0-未删除 1-已删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    public InOutType(Integer id, Integer inOrOut, String name) {
        this.id = id;
        this.inOrOut = inOrOut;
        this.name = name;
    }
}